function __getConstantCategory(category){
        for (var one in allConstantDic){                          
             if (one==category) return allConstantDic[one];
        }
   }
function __getConstantCategoryCodeValue(category,code){	 
        for (var onec in allConstantDic){     
        	   if (onec==category){        	   	
                  for (var one in allConstantDic[onec]){
                  	try{
                  	  if (allConstantDic[onec][one].code==code) 
                  	  return allConstantDic[onec][one].value;
                    }catch(e){}
                }		   	  
        	   }             
        }
   }
   
   
   
   
   function __getConstantCategoryValue(category){
        for (var one in allConstantDic){                          
             if (one==category) 
             return allConstantDic[one];
        }
   }